﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ParasitoLibrary.Business.Fachada;

namespace ParasitoQuestionApplication.Business.Fachada
{
    public class FachadaParasitoQuestion : FachadaParasitoAbstrata
    {

        #region .:> Singleton

        private static FachadaParasitoQuestion instancia = null;
        private static object objSincronizado = new object();

        private FachadaParasitoQuestion() : base()
        {
        }

        public static FachadaParasitoQuestion getInstancia()
        {
            if (instancia == null)
            {
                lock (objSincronizado)
                {
                    if (instancia == null)
                    {
                        instancia = new FachadaParasitoQuestion();
                    }
                }
            }
            return instancia;
        }

        #endregion
    }
}
